package com.kobe.system.service;

import com.kobe.system.domain.SysKobeDetail;
import com.kobe.system.domain.SysKobeFinance;

import java.util.List;

public interface SysKobeFinanceService {


    void add(SysKobeFinance sysKobeFinance);

    List<SysKobeFinance> listFinance(SysKobeFinance sysKobeFinance);

    SysKobeFinance getFinanceById(Long financeId);

    List<SysKobeDetail> getDetailById(Long financeId);

    List<SysKobeFinance> getFinanceByProjectId(Long projectId);

    Double getProjectComeMoneyById(Long projectId);

    Double getProjectOutMoneyById(Long projectId);



    void updateFinance(SysKobeFinance sysKobeFinance);

    void deleteFinanceById(Long projectId);

    void addDetail(SysKobeDetail detail);
}
